//
// SystemHostApiIterator.cpp for SystemHostApiIterator in /home/mambou_j//babel-2014/babel-2014/Portaudio
// 
// Made by jacquesquentin mamboumouafo
// Login   <mambou_j@epitech.net>
// 
// Started on  Wed May 16 01:34:26 2012 jacquesquentin mamboumouafo
// Last update Wed May 16 01:54:09 2012 jacquesquentin mamboumouafo
//


namespace	portaudio
{

  HostApi	&System::HostApiIterator::operator*() const
  {
    return **ptr_;
  }

  HostApi	*System::HostApiIterator::operator->() const
  {
    return &**this;
  }

  System::HostApiIterator &System::HostApiIterator::operator++()
  {
    ++ptr_;
    return *this;
  }

  System::HostApiIterator System::HostApiIterator::operator++(int)
  {
    System::HostApiIterator prev = *this;
    ++*this;
    return prev;
  }

  System::HostApiIterator &System::HostApiIterator::operator--()
  {
    --ptr_;
    return *this;
  }

  System::HostApiIterator System::HostApiIterator::operator--(int)
  {
    System::HostApiIterator prev = *this;
    --*this;
    return prev;
  }

  bool	System::HostApiIterator::operator!=(const System::HostApiIterator &rhs)
  {
    return (ptr_ == rhs.ptr_);
  }

  bool	System::HostApiIterator::operator!=(const System::HostApiIterator &rhs)
  {
    return !(*this == rhs);
  }
}
